home *** CD-ROM | disk | FTP | other *** search
-
-
-
- pppprrrrttttvvvvttttoooocccc((((1111MMMM)))) pppprrrrttttvvvvttttoooocccc((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- prtvtoc - print disk volume header information
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////eeeettttcccc////pppprrrrttttvvvvttttoooocccc [[----aaaaeeeeffffhhhhmmmmssss] [----tttt _f_s_t_a_b]] [_r_a_w_d_i_s_k_n_a_m_e]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _p_r_t_v_t_o_c prints a summary of the information in the volume header for a
- single disk or all of the local disks attached to a system (see _vvvv_hhhh(7M)).
- The command is usually used only by the superuser.
-
- The _r_a_w_d_i_s_k_n_a_m_e name should be the raw device filename of a disk volume
- header in the form /_d_e_v/_r_d_s_k/_d_k_s?_d?_v_h.
-
- Note: _p_r_t_v_t_o_c knows about the special file directory naming conventions,
- so the /_d_e_v/_r_d_s_k prefix can be omitted.
-
- If no name is given, the information for the root disk is printed.
-
- In single disk mode, _p_r_t_v_t_o_c prints information about the disk geometry
- (number of cylinders, heads, and so on), followed by information about
- the partitions. For each partition, the type is indicated (for example,
- filesystem, raw data, and so on). Cylinders can be non-integral values,
- as they may not correspond to actual physical values, for some drive
- types. For filesystem partitions, _p_r_t_v_t_o_c shows if there is actually a
- filesystem on the partition, and if it is mounted, the mount point is
- shown. Mount points shown in square brackets indicate the mount point of
- the logical volume the partition belongs to.
-
- The following options to _p_r_t_v_t_o_c can be used:
-
- ----ssss Print only the partition table, with headings but without the
- comments.
-
- ----hhhh Print only the partition table, without headings and comments.
- Use this option when the output of the _p_r_t_v_t_o_c command is
- piped into another command.
-
- ----tttt _f_s_t_a_b Use the file _f_s_t_a_b instead of /_e_t_c/_f_s_t_a_b. This option is now
- ignored, as the file /_e_t_c/_m_t_a_b is always used to find mount
- points.
-
- The following options create summaries from all disk volume headers:
-
- ----aaaa Show abbreviated partition listings for all disks attached to
- the system.
-
- ----mmmm List all partitions in use by local filesystems. The listing
- includes partitions that belong to logical volumes.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- pppprrrrttttvvvvttttoooocccc((((1111MMMM)))) pppprrrrttttvvvvttttoooocccc((((1111MMMM))))
-
-
-
- ----eeee Extended listing. This combines the ----aaaa and ----mmmm options as well
- as reporting unallocated (free) partitions, and overlapping
- mounted partitions.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE
- The output below is for a SCSI system (root) disk obtained by invoking
- _p_r_t_v_t_o_c without parameters. A change from earlier releases is that we no
- longer treat disk drives as though they were of fixed geometry (most SCSI
- disks no longer have fixed geometry), synthesizing a geometry that made
- the capacity work. Now they are simply treated as a stream of blocks, so
- there is no longer any information about cylinders and other drive
- geometry, just partition information.
-
- Printing label for root disk
-
- * /dev/root (bootfile "/unix")
- * 512 bytes/sector
- Partition Type Fs Start: sec Size: sec Mount Directory
- 0 efs yes 4608 4108800
- 1 raw 4113408 81408
- 8 volhdr 0 4608
- 10 volume 0 4194816
-
- This next output is for a SCSI option disk obtained by invoking _p_r_t_v_t_o_c
- with drive dks0d2vh as the parameter.
-
- * /dev/rdsk/dks0d2vh (bootfile "/unix")
- * 512 bytes/sector
- Partition Type Fs Start: sec Size: sec Mount Directory
- 7 xfs yes 4560 8684310 /usr/people
- 8 volhdr 0 4560
- 10 volume 0 8688870
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- dvhtool(1M), fx(1M), dks(7M), vh(7M).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-